<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>  
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %> 
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table class="kv-table">
		<tbody>
			<tr>
				<td class="kv-label">通知标题</td>
				<td colspan="3" class="kv-content">
					<input value="${m.title }" readonly class="easyui-textbox" name="title"
					style="height: 28px;line-height: 24px;width:400px">
				</td>
			</tr>
			<tr>
				<td class="kv-label">通知副标题</td>
				<td colspan="3" class="kv-content">
				<input value="${m.smallTitle }" readonly class="easyui-textbox" name="smallTitle"
					style="height: 28px;line-height: 24px;width:300px">
				
				</td>
			</tr>
			<tr>
				<td class="kv-label">发布时间</td>
				<td colspan="3" class="kv-content">
			
				<input value="${m.createDate }" readonly class="easyui-datebox" name="strDate"
					style="height: 28px;line-height: 24px;width:200px">
				
				</td>
			</tr>
			<tr>
				<td class="kv-label">通知说明</td>
				<td class="kv-content" colspan="3">
					<input type="hidden" name="context" id="context">
					<div id="editor-state" class="editor-state">
						${m.context }
					</div>	
				</td>
			</tr>
			<tr>
				<td class="kv-label">选择附件</td>
				<td id="fileTd" class="kv-content" colspan="3">
					<c:forEach items="${m.files }" var="file" varStatus="sta">
						<div style="width: 45%" id="fileDiv'+i+'" style="text-align: left;">
							${sta.index+1 }、${file.oldFilename }
							&nbsp;&nbsp;&nbsp;&nbsp;
							<a href="${ctx }/sys/fileDown?oldFilename=${file.oldFilename }&path=${file.path }" style="text-decoration: none;float: right;">下载</a>
							<hr/>
						</div>
					</c:forEach>
				</td>
			</tr>
			<tr>
				<td class="kv-label">&nbsp;</td>
				<td align="center" class="kv-content" colspan="3">
					<a href="#" onclick="javascript:$('#d1').dialog('close');" class="easyui-linkbutton" data-options="iconCls:'icon-back'">返回</a>
				</td>
			</tr>
		</tbody>
	</table>
</body>
</html>